import { Button, Space } from '@mao-fu/sun-ui';
import React from 'react';

const App: React.FC = () => (
  <div>
    <div style={{ overflow: 'auto' }}>
      <Space size={[8, 16]}>
        {Array.from({ length: 20 }).map((_, index) => (
          <Button key={index}>Button</Button>
        ))}
      </Space>
    </div>
    <hr></hr>
    <Space size={[8, 16]} wrap>
      {Array.from({ length: 20 }).map((_, index) => (
        <Button key={index}>Button</Button>
      ))}
    </Space>
  </div>
);

export default App;
